package com.chinaunicom.behavior.memento;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/8/18 11:02
 * Description:
 */
public class Memento {
    private String state;
    
    public Memento(String state){
        this.state = state;
    }

    @Override
    public String toString() {
        return "Memento{" +
                "state='" + state + '\'' +
                '}';
    }

    public String getState() {
        return state;
    }
}
